<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;


Route::group([
    'prefix' => config('admin.route.prefix'),
    'namespace' => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {
    //用户积分管理
    $router->resource('user_integral', 'GrUserIntegralController');
    //秒杀配置
    $router->resource('seckill', 'GrSeckillController');
    //优惠券配置
    $router->resource('coupon_activity', 'GrCouponActivityController');
    //优惠券
    $router->resource('coupon', 'GrCouponController');
});
